package com.anyou.mall.sho.mapper;

import java.util.List;
import com.anyou.mall.sho.domain.ShopNotice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 商家通知信息Mapper接口
 * 
 * @author ruoyi
 * @date 2022-04-30
 */
public interface ShopNoticeMapper extends BaseMapper<ShopNotice>
{
    /**
     * 查询商家通知信息
     * 
     * @param shopNoticeId 商家通知信息主键
     * @return 商家通知信息
     */
    public ShopNotice selectShopNoticeByShopNoticeId(Long shopNoticeId);

    /**
     * 查询商家通知信息列表
     * 
     * @param shopNotice 商家通知信息
     * @return 商家通知信息集合
     */
    public List<ShopNotice> selectShopNoticeList(ShopNotice shopNotice);

    /**
     * 新增商家通知信息
     * 
     * @param shopNotice 商家通知信息
     * @return 结果
     */
    public int insertShopNotice(ShopNotice shopNotice);

    /**
     * 修改商家通知信息
     * 
     * @param shopNotice 商家通知信息
     * @return 结果
     */
    public int updateShopNotice(ShopNotice shopNotice);

    /**
     * 删除商家通知信息
     * 
     * @param shopNoticeId 商家通知信息主键
     * @return 结果
     */
    public int deleteShopNoticeByShopNoticeId(Long shopNoticeId);

    /**
     * 批量删除商家通知信息
     * 
     * @param shopNoticeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopNoticeByShopNoticeIds(Long[] shopNoticeIds);
}
